<template>
<view class="hots">
    <view class="left_icon">
		<image class="img" :src="'../../../static/img/icon/'+ icon +'.png'"></image>
    </view>
    <view class="center">
      <view class="p1">{{title}}</view>
      <view class="p2">{{desc}}</view>
    </view>
    <!-- <view class="right">
      <image src="/static/images/home/right.png" class="right_img"></image>
    </view> -->
</view>
</template>

<script>

export default {
  data() {
    return {};
  },

  components: {},
  props: {
	  title: String,
	  icon: String,
	  desc: String,
    colors: {
      type: String
    }
  },
  methods: {}
};
</script>
<style lang="scss" scoped>
.hots{
	display: flex;
	align-items: center;
  margin: 0 3%;
  margin-top: 10upx;
  height: 110upx;
  overflow: hidden;
}
.hots:active{
  opacity: 0.8;
}
.left_icon{
  float: left;
  .img{
	  width: 38rpx;
	  height: 38rpx;
	  margin-right: 7px;
	  margin-left: 7px
  }
}
.left_icon .iconfont{
  font-size: 46upx;
  display: inline-block;
  margin-right: 20upx;
  line-height: 100upx;
}
.center{
  float: left;
}
.p1{
  font-size: 28upx;
  font-weight: 500;
  color: #000;
  line-height: 50upx;
}
.p2{
  font-size: 24upx;
  color: #999;
}
.right{
  float: right;
}
.right .right_img{
  width: 40upx;
  height: 40upx;
  display: inline-block;
  margin-top: 28upx;
}
</style>